package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.BuyerBean;
import com.project.bean.BuyerCarBean;
import com.project.bean.BuyerInfoBean;
import com.project.bean.JournalBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IBuyerInfoMapper extends BaseMapper<BuyerInfoBean> {

    public void addInfo(@Param("buyerId") Integer buyerId, @Param("list") List<BuyerCarBean> list);

    public List<BuyerInfoBean> findList(Integer buyerId);
}
